<%@ Page Language="C#" MasterPageFile="~/MyMasterPage.master" AutoEventWireup="true" CodeFile="Login.aspx.cs" Inherits="Admin_Login" Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
 <% string siteDirName =Application["siteDirName"].ToString(); %>
 <% string extension = Application["extension"].ToString(); %>  
  
    <asp:Panel ID="Panel1" runat="server" Height="50px" Style="z-index: 100; left: 358px; position: absolute; top: 333px;" Width="263px">
    <fieldset>
            <legend>Login</legend>
            <table style="color: black; font-family: Arial">
            <tr>
                <td>Username
                </td>
                <td><asp:TextBox ID="txtUserName" runat="server" Width="148px"></asp:TextBox>
                </td>
                <td style="width: 3px" >
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtUserName"
                        Display="Dynamic" ErrorMessage="RequiredFieldValidator"></asp:RequiredFieldValidator></td>
            </tr>
            <tr>
                <td >Password:
                </td>
                <td ><asp:TextBox ID="txtPassword" TextMode="Password"  runat="server" Width="148px"></asp:TextBox>
                </td>
                <td style="width: 3px" >
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="txtUserName"
                        Display="Dynamic" ErrorMessage="RequiredFieldValidator"></asp:RequiredFieldValidator></td>
            </tr>
            <tr>
                <td colspan="2" align="right" ><asp:Button ID="Button1" runat="server" 
                        Text="Login >>" OnClick="Button1_Click" BackColor="HighlightText" 
                        style="background-color: #99CCFF"  />
                </td>
                <td style="width: 3px" >
                </td>
            </tr>
        </table>
     </fieldset>

 </asp:Panel> 
        
</asp:Content>

